package com.shanjupay.common.exception;

import io.swagger.annotations.ApiModel;
import lombok.Data;

/**
 * @projectName: shanjupay
 * @package: com.shanjupay.common.exception
 * @className: RestErrorResponse
 * @author: Eric
 * @description: TODO
 * @date: 2023/12/3 17:10
 * @version: 1.0
 */
@ApiModel(value = "RestErrorResponse", description = "错误响应参数包装")
@Data
public class RestErrorResponse {
    private String errCode;
    private String errMessage;

    public RestErrorResponse(String errCode, String errMessage) {
        this.errCode = errCode;
        this.errMessage = errMessage;
    }
}
